<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>INSIDOUS:  Fichier source de /home/the-king/projGTK/Steganographie_valide/src/projv2.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">INSIDOUS
   &#160;<span id="projectnumber">1.00</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Généré par Doxygen 1.8.1.2 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Page&#160;principale</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>Liste&#160;des&#160;fichiers</span></a></li>
      <li><a href="globals.html"><span>Membres&#160;de&#160;fichier</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('projv2_8h_source.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">projv2.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="projv2_8h.html">Aller à la documentation de ce fichier.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#ifndef _PROJV2_H</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define _PROJV2_H</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor"></span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#include &lt;stdio.h&gt;</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="preprocessor">#include &lt;stdlib.h&gt;</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#include &lt;string.h&gt;</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;</div>
<div class="line"><a name="l00015"></a><span class="lineno"><a class="code" href="structs_pixel.html">   15</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structs_pixel.html">sPixel</a></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;{</div>
<div class="line"><a name="l00017"></a><span class="lineno"><a class="code" href="structs_pixel.html#a867f82d1a03dd2a07a55c166feff33af">   17</a></span>&#160;  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="structs_pixel.html#a867f82d1a03dd2a07a55c166feff33af">red</a>; </div>
<div class="line"><a name="l00018"></a><span class="lineno"><a class="code" href="structs_pixel.html#ace36fd5d2badb6a30830d2bb31d4d0dc">   18</a></span>&#160;  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="structs_pixel.html#ace36fd5d2badb6a30830d2bb31d4d0dc">green</a>; </div>
<div class="line"><a name="l00019"></a><span class="lineno"><a class="code" href="structs_pixel.html#a24e47b637bceae1add2f3990f41d6f0f">   19</a></span>&#160;  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="structs_pixel.html#a24e47b637bceae1add2f3990f41d6f0f">blue</a>;</div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;};</div>
<div class="line"><a name="l00021"></a><span class="lineno"><a class="code" href="projv2_8h.html#a7403839d2b8425453b71755e2ff160bd">   21</a></span>&#160;<span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structs_pixel.html">sPixel</a> <a class="code" href="structs_pixel.html">pixel</a>;</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="keywordtype">void</span> <a class="code" href="projv2_8c.html#ad6778c0f9bc0cda16c65f8cac3401135" title="Procédure lecture de l&#39;entête de l&#39;image en récupérant les dimensions (hauteur,largeur).">lireEntete</a>( <span class="keyword">const</span> <span class="keywordtype">char</span> nomFichier[], <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> * largeur, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> * hauteur);</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="comment">//int initialisation(char *nomImage, unsigned int hauteur,unsigned int largeur);</span></div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="keywordtype">void</span> <a class="code" href="projv2_8c.html#a11cb53f05eddb5f1490c20f1ecffa171" title="Procédure de remplissage d&#39;une table de type structure pixel avec les pixels de l&#39;image choisie...">remplirTableauPixelsDepuisFichier</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> nomFichier[], <a class="code" href="structs_pixel.html">pixel</a> tab[],<span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> largeur, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> hauteur);</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<span class="keywordtype">void</span> <a class="code" href="projv2_8c.html#aee85a7e2fa7c60ec01d89f110f1ace6c" title="ecriture fichier (création image au format bmp">ecrireFichier</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> nomFic[], <span class="keyword">const</span> <a class="code" href="structs_pixel.html">pixel</a> tab[], <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> largeur, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> hauteur);</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="keywordtype">void</span> <a class="code" href="projv2_8c.html#a33f3cd2b5bf7f7066633b71c37a09385">traitementSepia</a>(<span class="keyword">const</span> <a class="code" href="structs_pixel.html">pixel</a> tab[], <a class="code" href="structs_pixel.html">pixel</a> tabRes[], <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> largeur, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> hauteur, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> p);</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;<span class="keywordtype">void</span> <a class="code" href="projv2_8c.html#a1bfc5452580a2b1c31c874b4644c0b4b" title="Procédure de dissimulation, extrait et fusionne les 2 tableaux de pixels des 2 images dans une seule ...">dissimulation</a>(<span class="keyword">const</span> <a class="code" href="structs_pixel.html">pixel</a> <a class="code" href="insidous_8c.html#a67d0bd97e6f13296607ff50651d601b2">tab1</a>[], <span class="keyword">const</span> <a class="code" href="structs_pixel.html">pixel</a> <a class="code" href="insidous_8c.html#a23d5ed1d93507b2cc187c46ca6112926">tab2</a>[],  <a class="code" href="structs_pixel.html">pixel</a> <a class="code" href="insidous_8c.html#ab70eda23446b4e380a766f0f3e345f1a">tab3</a>[], <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> largeur, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> hauteur, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> nbBite);</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;<span class="keywordtype">void</span> <a class="code" href="projv2_8c.html#a9568b0e0f9d5dd35f3bcbc5932c47ca5">extraction</a>(<span class="keyword">const</span> <a class="code" href="structs_pixel.html">pixel</a> *<a class="code" href="insidous_8c.html#a67d0bd97e6f13296607ff50651d601b2">tab1</a>,  <a class="code" href="structs_pixel.html">pixel</a> *<a class="code" href="insidous_8c.html#ab70eda23446b4e380a766f0f3e345f1a">tab3</a>, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> largeur, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> hauteur, <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> nbBite);</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;<span class="keywordtype">void</span> <a class="code" href="projv2_8c.html#a1181dcfc2b5786bab0069c1204bad31b">LireChaine</a>(<span class="keywordtype">char</span> chaine[], <span class="keywordtype">int</span> size);</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;<span class="keywordtype">void</span> <a class="code" href="projv2_8c.html#a9282d00552326e1ba1fd6f3afb45b061" title="Procedure auxiliaire utile pour lire les fichiers.">fskip</a>(FILE *fp, <span class="keywordtype">int</span> num_bytes);</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> <a class="code" href="projv2_8c.html#a7c2c239b4ca194a1aab00dccdd0664d5" title="Accesseur: récupération la valeur d&#39;un bit donné">getIemeBit</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> nombre, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> numbit);</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;<span class="keywordtype">void</span> <a class="code" href="projv2_8c.html#a73f3eece2368deed88a87a47d9fb0d3b" title="Mutateur: Mise à 0 un bite renseigné Precondition: 0 &lt;= numbit &lt;= 7, 0 correspond au bit de poids faibl...">setIemeBit0</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> * nombre, <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> numbit);</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;</div>
<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;<span class="keywordtype">void</span> <a class="code" href="projv2_8c.html#aebb5462c8b3142923f97e2014fad0637" title="Mutateur: Mise à 1 un bite renseigné Precondition: 0 &lt;= numbit &lt;= 7, 0 correspond au bit de poids faibl...">setIemeBit1</a>(<span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> * nombre,  <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> numbit);</div>
<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;<span class="preprocessor">#endif</span></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="projv2_8h.html">projv2.h</a></li>
    <li class="footer">Généré le Jeudi Janvier 31 2013 13:49:50 pour INSIDOUS par
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.1.2 </li>
  </ul>
</div>
</body>
</html>
